// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-table td {
  height: 49px !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

.cell {
  .el-tag {
    margin-right: 0px;
  }
}

.small-padding {
  .cell {
    //padding-left: 5px;
    //padding-right: 5px;
  }
}

.fixed-width {
  .el-button--mini {
    //padding: 7px 10px;
    //width: 60px;
  }
}

.status-col {
  .cell {
    padding: 0 10px;
    text-align: center;

    .el-tag {
      margin-right: 0px;
    }
  }
}

// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block;
  }
}

// fix date-picker ui bug in filter-item
.el-range-editor.el-input__inner {
  display: inline-flex !important;
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}

.el-pop-tag-list {
  .c-t-t-list {
    display: flex;
    flex-wrap: wrap;
    .c-t-t-l-item {
      margin-right: 8px;
      margin-bottom: 8px;
      position: relative;

      .iconfont {
        position: absolute;
        font-size: 12px;
        top: 0;
        right: -2px;
        width: 10px;
        height: 10px;
      }
    }
  }
}

.el-pop-tag-item {
  min-width: 0 !important;
  .c-t-t-list {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    .iconfont {
      position: absolute;
      font-size: 12px;
      top: 0;
      right: -2px;
      width: 10px;
      height: 10px;
    }
    .c-t-t-l-item {
      margin-right: 8px;
      margin-bottom: 8px;
      position: relative;

      .iconfont {
        position: absolute;
        font-size: 12px;
        top: 0;
        right: -2px;
        width: 10px;
        height: 10px;
      }
    }
  }
  .c-t-t-l-tag {
  }
}

.el-message-box {
  .el-message-box__status {
    top: 12px !important;
  }
}

.dialog-column-list {
  tr {
    th:nth-child(1) {
      .cell {
        padding-left: 18px !important;
      }
    }
    td:nth-child(1) {
      .cell {
        padding-left: 18px !important;
      }
    }
  }
}

.el-select {
  .el-tag {
    .el-tag__close {
      color: #fff;
      margin-right: 3px;
    }
  }
}

.common-header-style {
  background-color: rgba(23, 119, 206, 0.2);
  color: #000;
}

.el-tooltip__popper {
  word-break: break-all;
}
::v-deep .el-tabs__item:focus.is-active.is-focus:not(:active) {
  -webkit-box-shadow: none;
  box-shadow: none;
}

.custom-select {
  min-width: 192px !important;
  max-width: 400px !important;
  display: flex;
  align-items: center;

  .selectList {
    width: 100%;
  }
}

.custom-cascader-style {
  .el-cascader-menu {
    max-width: 250px !important;

    .el-cascader-node__label {
      width: 180px;

      .carousel-text-warp {
        width: 100% !important;
      }
    }
  }
}

.el-cascader-menu {
  max-width: 250px !important;

  .el-cascader-node__label {
    width: 180px;

    .carousel-text-warp {
      width: 100% !important;
    }
  }
}

.el-table__fixed-header-wrapper {
  z-index: 9 !important;
}

.el-input__suffix .el-input__suffix-inner .el-input__icon {
  height: 1rem !important;
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  margin: auto !important;
  right: 0 !important;
  line-height: 0 !important;
}

.addDialog {
  .el-dialog {
    min-width: 450px;
  }
  .el-form {
    display: flex;
    flex-wrap: wrap;
    padding-right: 30px;
    .el-form-item {
      width: 50%;
    }
  }
  .el-dialog__header {
    border-bottom: 1px solid #e8e8e8;
  }
  .el-dialog__footer {
    border-top: 1px solid #e8e8e8;
  }
}
.addDialog100 {
  .el-dialog {
    min-width: 450px;
  }
  .el-form {
    display: flex;
    flex-wrap: wrap;
    padding-right: 30px;
    .el-form-item {
      width: 100%;
    }
  }
  .el-dialog__header {
    border-bottom: 1px solid #e8e8e8;
  }
  .el-dialog__footer {
    border-top: 1px solid #e8e8e8;
  }
}
